<!DOCTYPE html>
<html>
<style>
  img{
    width: 100%;
    height: 100%;
  }
</style>
<head>
  <!-- Swiper7 -->
  <link rel="stylesheet" href="https://unpkg.com/swiper/swiper-bundle.min.css">
  <script src="https://unpkg.com/swiper/swiper-bundle.min.js"> </script>
  <script src="https://unpkg.com/swiper/swiper-bundle.min.js.map"> </script>
  <link rel="stylesheet" href="./gjdwz.css">
  <!-- ES 模块 -->
  <script type="module">
    import Swiper from 'https://unpkg.com/swiper/swiper-bundle.esm.browser.min.js'
</script>
  <link rel="stylesheet" href="swiper-bundle.min.css">
  <script src="swiper-bundle.min.js"></script>
  <style>
    
    html,
    body {
      position: relative;
      height: 100%;
    }

    body {
      background: #eee;
      font-family: Helvetica Neue, Helvetica, Arial, sans-serif;
      font-size: 14px;
      color: #000;
      margin: 0;
      padding: 0;
    }

    .swiper-container {
      width: 100%;
      height: 100%;
    }

    .swiper-slide {
      text-align: center;
      font-size: 18px;
      background: #fff;

      /* Center slide text vertically */
      display: -webkit-box;
      display: -ms-flexbox;
      display: -webkit-flex;
      display: flex;
      -webkit-box-pack: center;
      -ms-flex-pack: center;
      -webkit-justify-content: center;
      justify-content: center;
      -webkit-box-align: center;
      -ms-flex-align: center;
      -webkit-align-items: center;
      align-items: center;
      transition: 300ms;
      transform: scale(0.8);
    }

    .swiper-slide-active,
    .swiper-slide-duplicate-active {
      transform: scale(1);
    }
  </style>

</head>

<body>
  <!-- Swiper -->
  <div class="swiper-container">
    <div class="swiper-wrapper">
      <div class="swiper-slide"><img
          src="https://img2.baidu.com/it/u=3390421916,2496794432&fm=253&fmt=auto&app=138&f=JPEG?w=500&h=833"></div>
      <div class="swiper-slide"><img
          src="https://img1.baidu.com/it/u=1295750898,1685751298&fm=253&fmt=auto&app=120&f=JPEG?w=500&h=1083"></div>
      <div class="swiper-slide"><img
          src="https://img0.baidu.com/it/u=3230151323,2079425013&fm=253&fmt=auto&app=120&f=JPEG?w=500&h=1083"></div>
      <div class="swiper-slide"><img
          src="https://img1.baidu.com/it/u=2638608560,1519638885&fm=253&fmt=auto&app=138&f=JPEG?w=500&h=889"></div>
      <div class="swiper-slide"><img
          src="https://img2.baidu.com/it/u=3712904519,3704679021&fm=253&fmt=auto&app=138&f=JPEG?w=500&h=1083"></div>
      <div class="swiper-slide"><img
          src="https://img2.baidu.com/it/u=2304690210,207234933&fm=253&fmt=auto&app=138&f=JPEG?w=500&h=1083"></div>
      <div class="swiper-slide"><img
          src="https://img1.baidu.com/it/u=1999462475,2324113130&fm=253&fmt=auto&app=138&f=JPEG?w=500&h=889"></div>
      <div class="swiper-slide"><img
          src="https://img1.baidu.com/it/u=1738697227,1791104962&fm=253&fmt=auto&app=138&f=JPEG?w=500&h=889"></div>
      <div class="swiper-slide"><img
          src="https://img0.baidu.com/it/u=3975301259,2955790855&fm=253&fmt=auto&app=138&f=JPEG?w=500&h=688"></div>
      <div class="swiper-slide"><img
          src="https://img0.baidu.com/it/u=2687087767,2205487933&fm=253&fmt=auto&app=138&f=JPEG?w=281&h=500"></div>
    </div>
    <!-- Add Pagination -->
    <div class="swiper-pagination"></div>
  </div>
</body>

</html>
<script>
  var swiper = new Swiper('.swiper-container', {
    slidesPerView: 3,
    spaceBetween: 30,
    centeredSlides: true,
    loop: true,
    pagination: {
      el: '.swiper-pagination',
      clickable: true,
    },
    autoplay: {
      delay: 2000,
      disableOnInteraction: false,
    },
  });
</script>